package com.sp.system.user.core.utils;

import com.sp.system.user.core.utils.enums.BaseCodeEnum;
import lombok.Data;

import java.io.Serializable;

@Data
public class BaseResult implements Serializable {
    private static final long serialVersionUID = 4702381930013282462L;

    protected static final Integer SUCCESS_CODE= BaseCodeEnum.OK.getStatus();
    protected static final Integer ERROR_CODE= BaseCodeEnum.ERROR.getStatus();
    /**
     * 是否成功
     */
    protected Boolean success;

    /**
     * 返回码
     */
    protected Integer status;

    /**
     * 返回信息
     */
    protected String message;
    /**
     * 后台开发人员提示信息，方便问题的跟踪
     */
//    protected String devMsg ;

}
